package com.smart_campus.teg.mapper;

import com.smart_campus.teg.domain.TegClass;
import com.smart_campus.teg.vo.ClassVo;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Repository
@Transactional
public interface TegClassMapper {
    int deleteByPrimaryKey(Integer classId);

    int insert(TegClass record);

    TegClass selectByPrimaryKey(Integer classId);

    int updateByPrimaryKeySelective(TegClass record);

    int updateByPrimaryKey(TegClass record);

    List<ClassVo> selClass(ClassVo vo);

    List<ClassVo> selClassname();
}